package com.xzc.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xzc.seckill.pojo.Goods;
import com.xzc.seckill.pojo.User;
import com.xzc.seckill.vo.GoodsVo;

import java.util.List;

/**
 * @author 徐生
 * @version 1.0
 * Date 2024/4/2 21:47
 * Description: GoodsService
 */
public interface GoodsService extends IService<Goods> {
    //秒杀商品列表
    List<GoodsVo> findGoodsVo();

    //获取指定商品详情——根据goodsId
    GoodsVo findGoodsVoByGoodsId(Long goodsId);
}
